package cm.ph.shopping.facade.order.service;


import com.ph.shopping.common.util.page.PageBean;
import com.ph.shopping.common.util.result.Result;

import cm.ph.shopping.facade.order.entity.PhOrderUnline;
import cm.ph.shopping.facade.order.vo.PhOrderUnlineVo;
import cm.ph.shopping.facade.order.vo.QueryMerchantOrderTakeVo;

public interface IUnLineOrerService {

	/**
	 * 线下订单VoList
	 * @param phOrderUnline
	 * @param pagebean
	 * @return
	 */
	public Result getUnLineOrderVoList(PhOrderUnlineVo phOrderUnlineVo,PageBean pagebean) throws Exception;
	
	/**
	 * 创建线下订单
	 * @param phOrderUnline
	 * @return
	 */
	public Result addUnLineOrder(PhOrderUnline phOrderUnline) throws Exception;	
	/**
	 *通过订单id获取订单
	 * @return
	 */
	public PhOrderUnline getPhOrderUnlineById(PhOrderUnline phOrderUnline);
	
	/**
	 * 更新订单状态
	 */
	public int updateUnlineOrderStatus(PhOrderUnline phOrderUnline);
	
	/**
	 * 商户提货单
	 * @param queryMerchantOrderTakeVo
	 * @return
	 */
	public Result getMerchantTakeOrderVoList(QueryMerchantOrderTakeVo queryMerchantOrderTakeVo, PageBean pagebean);
	
	/**
	 * 通过会员id 查询到此会员的线下订单
	 */
	public  Result  queryWebUnLineOrders(Long id,Integer status ,Integer pageNum ,Integer pageSize);
}
